package com.itheima.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import javafx.scene.control.Pagination;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName MybaitsPageConifg
 * @Description TODO
 * @Author Shinelon
 * @Date DATE 2021/6/22 23:20
 */
@Configuration
@MapperScan(value = "com.itheima.dao")//这行代码只要在配置类下都可以
public class MybaitsConifg {
    //分页插件
//    @Bean
//    public PaginationInterceptor getPagination(){
//        return new PaginationInterceptor();
//    }
}
